﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AmericanExpress.aspx.cs" Inherits="AmericanExpress" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 70%;
        }
        .style5
        {
            width: 161px;
        }
        .style9
        {
            width: 117px;
        }
        .style14
        {
            width: 163px;
        }
        .style15
        {
            width: 167px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table class="style1">
            <tr>
                <td class="style9">
                    <asp:Image ID="Image1" runat="server" Height="111px" 
                        ImageUrl="http://localhost/Registration/order/americanexpress.jpg" 
                        Width="176px" />
                </td>
                <td class="style14">
                    <asp:Image ID="Image2" runat="server" Height="111px" 
                        ImageUrl="http://localhost/Registration/order/americanexpress.jpg" 
                        Width="176px" />
                </td>
                <td class="style15">
                    <asp:Image ID="Image3" runat="server" Height="111px" 
                        ImageUrl="http://localhost/Registration/order/americanexpress.jpg" 
                        Width="176px" />
                </td>
                <td class="style5">
                    <asp:Image ID="Image4" runat="server" Height="111px" 
                        ImageUrl="http://localhost/Registration/order/americanexpress.jpg" 
                        Width="176px" />
                </td>
            </tr>
            <tr>
                <td class="style9">
                    &nbsp;</td>
                <td class="style14">
                    &nbsp;</td>
                <td class="style15">
                    &nbsp;</td>
                <td class="style5">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style9">
                    <asp:Label ID="Label1" runat="server" Text="Username"></asp:Label>
                </td>
                <td class="style14">
                    <asp:Label ID="Label2" runat="server" Text="ExpiryDate"></asp:Label>
                </td>
                <td class="style15">
                    <asp:Label ID="Label3" runat="server" Text="AccountNumber"></asp:Label>
                </td>
                <td class="style5">
                    <asp:Label ID="Label4" runat="server" Text="CvcCode"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style9">
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                </td>
                <td class="style14">
                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                </td>
                <td class="style15">
                    <asp:TextBox ID="TextBox3" runat="server" MaxLength="16"></asp:TextBox>
                </td>
                <td class="style5">
                    <asp:TextBox ID="TextBox4" runat="server" MaxLength="4"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style9">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="TextBox1" ErrorMessage="please enter you name" 
                        ForeColor="#FF3300"></asp:RequiredFieldValidator>
                </td>
                <td class="style14">
                    mm/yyyy<br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                        ControlToValidate="TextBox2" ErrorMessage="please enter you ExpiryDate" 
                        ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
                <td class="style15">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="TextBox3" ErrorMessage="please enter you account number" 
                        ForeColor="#FF3300"></asp:RequiredFieldValidator>
                </td>
                <td class="style5">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="TextBox4" ErrorMessage="please enter you code" 
                        ForeColor="#FF3300"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style9">
                    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Back" 
                        Width="78px" />
                </td>
                <td class="style14">
                    &nbsp;</td>
                <td class="style15">
                    Total Amount
                    $:<asp:Label ID="Label5" runat="server"></asp:Label>
                </td>
                <td class="style5">
                    <asp:Button ID="Button2" runat="server" Text="Submit" Width="78px" 
                        onclick="Button2_Click" />
                </td>
            </tr>
            <tr>
                <td class="style9">
                    &nbsp;</td>
                <td class="style14">
                    &nbsp;</td>
                <td class="style15">
                    &nbsp;</td>
                <td class="style5">
                    &nbsp;</td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
